package com.gulimall.member.api.client;

import com.gulimall.common.utils.ServiceResponse;
import com.gulimall.member.api.dto.MemberInDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * 优惠券信息
 *
 * @author aliuql
 * @email 17701057157@qq.com
 * @date 2021-11-15 14:31:25
 */
@FeignClient(value = "gulimall-member", path = "/member/member")
public interface MemberClient {
    /**
     * 保存
     */
    @PostMapping("/save")
    ServiceResponse<Void> save(@RequestBody MemberInDTO member);
}
